<?php
namespace App\Mall\Dto;

use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;
use Mine\Interfaces\MineModelExcel;

/**
 * 订单Dto （导入导出）
 */
#[ExcelData]
class MallOrderDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "created_at", index: 1)]
    public string $created_at;

    #[ExcelProperty(value: "updated_at", index: 2)]
    public string $updated_at;

    #[ExcelProperty(value: "deleted_at", index: 3)]
    public string $deleted_at;

    #[ExcelProperty(value: "用户id", index: 4)]
    public string $user_id;

    #[ExcelProperty(value: "订单编号", index: 5)]
    public string $no;

    #[ExcelProperty(value: "总金额", index: 6)]
    public string $total_amount;

    #[ExcelProperty(value: "支付金额", index: 7)]
    public string $pay_amount;

    #[ExcelProperty(value: "支付0否1是", index: 8)]
    public string $is_pay;

    #[ExcelProperty(value: "1正常2取消3超时", index: 9)]
    public string $status;

    #[ExcelProperty(value: "收货人", index: 10)]
    public string $ship_name;

    #[ExcelProperty(value: "收货电话", index: 11)]
    public string $ship_phone;

    #[ExcelProperty(value: "收货地址", index: 12)]
    public string $ship_address;


}